<h1>Extensions / Klassen</h1>
<h2>{$project.project_name}</h2>


<ul>
{foreach from=$extensions item="ext"}
<li>{$ext.ext_name}
	<ul>
	{foreach from=$ext.classes item="class"}
		<li><img src="{$class.icon}" border="0" /> {$class.class_name}</li>
	{/foreach}
	</ul>
</li>
{/foreach}
</ul>
<br />
<h1>neue Extension anlegen</h1>
<form id="form_ext_new_{$project.project_id}" action="" onsubmit="return false;">
	<input type="hidden" name="project_id" value="{$project.project_id}">
	<label for="ext_name_{$project.project_id}">Name</label>
	<input type="text" id="ext_name_{$project.project_id}" name="ext_name" />&nbsp;
	<span class="error" id="ext_name_error_{$project.project_id}"></span>
	
	<br />
	<input type="submit" value="anlegen"  onclick="{strip}{literal}
xajax.request(
{
	ccdsfun:'ClassEditorExtensionAdd',
	ccdsclass:'ccdsClassEditor'
},{	
	parameters:[{/literal}
	xajax.getFormValues('form_ext_new_{$project.project_id}')	
	{literal}]
});
{/literal}{/strip}"/>

</form>